{% extends 'home/base.html' %}


{% block conleft %}
<div class="am-u-md-8 am-u-sm-12">

    {% for v in blogs %}
        <article class="am-g blog-entry-article">
            <div class="am-u-lg-6 am-u-md-12 am-u-sm-12 blog-entry-text">
                <span><a href="{{ url_for('home.userblogs',uid=v.uid) }}" class="blog-color">@{{ v.user.username }} &nbsp;</a></span>
                <span>{{ v.addtime }}</span>
                <h1><a href="{{ url_for('home.bloginfo',post_id=v.id) }}">{{ v.title }}</a></h1>
                
                <div class="context">
                   
                </div>
                <p><a href="" class="blog-continue">continue reading</a></p>
            </div>
        </article>
    {% endfor %}
        <ul class="am-pagination">
          <li class="am-pagination-prev"><a href="">&laquo; Prev</a></li>
          <li class="am-pagination-next"><a href="">Next &raquo;</a></li>
        </ul>
</div>

{% endblock %}

{% block conright %}

  <div class="am-u-md-4 am-u-sm-12 blog-sidebar">
    <div class="blog-sidebar-widget blog-bor">
        <h2 class="blog-text-center blog-title"><span>About ME</span></h2>
        <img src="/static/home/i/f161.jpg" alt="about me" class="blog-entry-img">
        <p>{{ blogs.0.user.username }}</p>
        <p>
            {{ blogs.0.user.info|d('这个人很懒,P都没留下',true) }}
        </p>
    </div>
   
      <div class="blog-clear-margin blog-sidebar-widget blog-bor am-g ">
          <h2 class="blog-title">
              <span>TAG cloud</span>
          </h2>
          <div class="am-u-sm-12 blog-clear-padding">
              {% for v in 'a'|gettagsall %}
                  <a href="{{ url_for('home.tagsblogs',tid=v.id)}}" class="blog-tag">{{ v }}</a>
              {% endfor %}
          </div>
      </div>
      
  </div>
{% endblock %}
